sc stop theserver
sc delete theserver
sc create theserver binPath=%~dp0\startvm.bat DisplayName="TheServer" type=own start=auto
sc start theserver